package com.ershi.spring.ioc.listener;

import com.ershi.spring.ioc.evnet.MyEvent;
import org.springframework.context.ApplicationListener;

/**
 * @author 二十
 * @since 2021/10/30 6:47 下午
 */
public class MyListener implements ApplicationListener<MyEvent> {


	@Override
	public void onApplicationEvent(MyEvent event) {
		event.print();
	}
}
